package com.codeoss.module.ir.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.codeoss.framework.service.impl.BaseService;
import com.codeoss.module.ir.dao.IrWorkflowMapper;
import com.codeoss.module.ir.model.IrWorkflow;
import com.codeoss.module.ir.service.IIrWorkflowService;

@Service
public class IrWorkflowService extends BaseService<IrWorkflowMapper, IrWorkflow> implements IIrWorkflowService {

	@Override
	public IrWorkflow getIrWorkflowByCode(String code) {
		// TODO Auto-generated method stub
		QueryWrapper<IrWorkflow> query=new QueryWrapper<IrWorkflow>();
		query.eq("code",code);
		return getOne(query);
	}
}